package psd.model.Prolog.Converters;

import org.eclipse.jdt.core.dom.PackageDeclaration;

import psd.model.IConverter;
import psd.model.Prolog.FactGenerationToolbox;
import psd.model.Prolog.PrologConverter;


public class PrologPackageDeclarationConverter extends PrologConverter
		implements IConverter<PackageDeclaration> {

	public PrologPackageDeclarationConverter(FactGenerationToolbox toolbox) {
		super(toolbox);
	}

	@Override
	public boolean convert(PackageDeclaration node) {
		generatePackageFactIfNecessary(node.resolveBinding());
		return false;
	}

}
